.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: rgb(111, 190, 221);
}

.header__container {
  max-width: 100%;
  margin: 0px auto;
  display: flex;
  padding: 0px 30px;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
}

.header__logo {
  position: relative;
  max-width: 500px;
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;  
  color: #fff;
  z-index: 5;
}

.menu__list > li {
  position: relative;
  margin: 0px 0px 0px 20px;  
}

.menu__link {
  color: #fff;
  font-size: 18px;
}

body._pc .menu__list li:hover:before {
  width: 100%;
}

body._touch .menu__list:hover {
  text-decoration: none;
}


.menu__sub-list {
  position: absolute;
  top: 100%;
  right: 0;
  padding: 15px;
  min-width: 200px;
  z-index: 6;
  border-radius: 8px;
  background-color: rgb(10, 9, 9);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.menu__sub-list li:not(:last-of-type) {
  margin: 0px 0px 10px 0px;
}

.menu__sub-link {
  color: #fff;
}

.menu__sub-link:hover {
  text-decoration: underline;
  
}

.menu__arrow {
  display: none;
}

body._pc .menu__list > li:hover:has(.menu__sub-list):before   { 
  width: 0;
}

body._pc .menu__list > li:hover .menu__sub-list  {  
  opacity: 1;
  visibility: visible;
  transform: translate(0px, 0px);
  pointer-events: all;
}

body._touch .menu__list > li {
  display: flex;
  align-items: center;
}

body._touch .menu__link {
  flex: 1 1 auto;
}

body._touch .menu__arrow {
  display: block;
  width: 0;
  height: 0;
  margin: 0px 0px 0px 5px;
  transition: all 0.3s ease 0s;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 10px solid #fff;

}

body._touch .menu__list > li._active .menu__sub-list {
  opacity: 1;
  visibility: visible;
  transform: translate(0px, 0px);
  pointer-events: all;
}


@media (min-width: 767px) {
  .menu__list {
    display: flex;
    align-items: center;
  }

  .menu__list > li {
    padding: 10px 0;
  }

  .menu__list > li:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 3px;
    background: rgb(139, 241, 139);
    border-radius: 50%;
    transition: width .4s;
    z-index: 5;
  }

  .menu__sub-list {
    transform: translate(0px, 10%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease 0s;
  }
}